<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<!--ctrl+shift+/  -->
<!-- <h2 th:text="${emp.empid}"></h2>
<h2 th:text="${emp.empname}"></h2>
<h2 th:text="${emp.salary}"></h2>
<h2 th:text="${emp.deptid}"></h2>
<h2 th:text="${emp.birthday}"></h2> -->

<table border="1px">
   <tr th:each="emp: ${emps}">
     <td th:text="${emp.empid}"></td>
     <td th:text="${emp.empname}"></td>
     <td th:text="${emp.salary}"></td>
     <td th:text="${emp.deptid}"></td>
     <td th:text="${#dates.format(emp.birthday,'yyyy-MM-dd')}"></td>
   </tr>
</table>
</body>
</html>